/**
 * 路由表配置
 * @type {import('vue-router').RouteConfig[]}
 */
const routers = [
  {
    name: 'permission',
    path: '/permission',
    meta: {
      title: 'permission',
      icon: 'el-icon-lock'
    },
    component: () => import(/* webpackChunkName: 'common' */ '@/layout/index.vue'),
    children: [{
      path: 'role',
      name: 'role',
      component: () => import( /* webpackChunkName: "role" */ '@/views/permission/role.vue'),
      meta: {
        title: 'role',
      }
    },
    {
      path: 'user',
      name: 'user',
      component: () => import( /* webpackChunkName: "user" */ '@/views/permission/user.vue'),
      meta: {
        title: 'user',
      }
    },
    ]
  },

]
export default routers
